from method import Method, Param, String, Boolean, Integer

class ChangeSettings(Method):
    """
    Arguments:
    Integer ImageID
    String Name
    String Pinned -- Left, Right, Center, Top, Bottom, TopLeft, TopRight,
      BottomLeft, BottomRight, Tile
    Integer Dissolved -- 0-100
    Boolean Thumbs
    """

    name = 'smugmug.watermarks.changeSettings'
    params = (
        Param('ImageID', Integer),
        Param('Name', String),
        Param('Pinned', String),
        Param('Dissolved', Integer),
        Param('Thumbs', Boolean)
    )

changeSettings = ChangeSettings()

class Create(Method):
    """
    Arguments:
    Integer ImageID
    String Name
    String Pinned -- Left, Right, Center, Top, Bottom, TopLeft, TopRight,
      BottomLeft, BottomRight, Tile
    Integer Dissolved -- 0-100
    Boolean Thumbs
    """

    name = 'smugmug.watermarks.create'
    params = (
        Param('ImageID', Integer),
        Param('Name', String),
        Param('Pinned', String),
        Param('Dissolved', Integer),
        Param('Thumbs', Boolean)
    )

create = Create()

class Delete(Method):
    """
    Arguments:
    Integer WatermarkID
    """

    name = 'smugmug.watermarks.delete'
    params = (
        Param('WatermarkID', Integer),
    )

delete = Delete()

class Get(Method):
    """
    Arguments:
    String Heavy
    """

    name = 'smugmug.watermarks.get'
    params = (
        Param('Heavy', String),
    )

get = Get()

class GetInfo(Method):
    """
    Arguments:
    Integer WatermarkID
    """

    name = 'smugmug.watermarks.getInfo'
    params = (
        Param('WatermarkID', Integer),
    )

getInfo = GetInfo()
